Modules | |
FLAC++/encoder.h: stream encoder class | |
This class wraps the FLAC__StreamEncoder. | |
FLAC++/encoder.h: seekable stream encoder class | |
This class wraps the FLAC__SeekableStreamEncoder. | |
FLAC++/encoder.h: file encoder class | |
This class wraps the FLAC__FileEncoder. |
The libFLAC++ encoder classes are object wrappers around their counterparts in libFLAC. All three encoding layers available in libFLAC are also provided here. The interface is very similar; make sure to read the libFLAC encoder module.
The only real difference here is that instead of passing in C function pointers for callbacks, you inherit from the encoder class and provide implementations for the callbacks in the derived class; because of this there is no need for a 'client_data' property.